package com.hgw.Demo04_BuilderPattern.builder;

/**
 * Data time:2021/12/12 21:05
 * StudentID:2019112118
 * Author:hgw
 * Description: 模版单车，具体建造者
 */
public class MobikeBuilder extends Builder{
    @Override
    public void buildFrame() {
        bike.setFrame("碳纤维");
    }

    @Override
    public void buildSeat() {
        bike.setSeat("真皮");
    }

    @Override
    public Bike createBike() {
        return bike;
    }
}
